<table id="invitationcoupon_table" ref="InvitCoupon" class="table" width="100%" border="0" cellspacing="1" cellpadding="0">
		<thead class="state-header">
		  <tr>
		  
		  	  <td  width="40" tdid="0" align="center">
			 	选择
			  </td>
		  	
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"id")||fields=="*"||(!fields && true)}}' tdid="1" ref="id"   title="编号">
			 	编号
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"commodity")||fields=="*"||(!fields && true)}}' tdid="2" ref="commodity"   title="适用商品">
			 	适用商品
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"recomDiscount")||fields=="*"||(!fields && true)}}' tdid="3" ref="recomDiscount"   title="推荐人折扣">
			 	推荐人折扣
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"invitcOldDiscount")||fields=="*"||(!fields && true)}}' tdid="4" ref="invitcOldDiscount"   title="老客户折扣">
			 	老客户折扣
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"invitcOldTuiDiscount")||fields=="*"||(!fields && true)}}' tdid="5" ref="invitcOldTuiDiscount"   title="老客推荐折扣">
			 	老客推荐折扣
			 </td>
		 
			 <td width="{{fields=='*'?'140':''}}" lz:if='{{lz.idin(fields,"expiryDate")||fields=="*"||(!fields && true)}}' tdid="6" ref="expiryDate"   title="有效期截止日">
			 	有效期截止日
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"wechatTitle")||fields=="*"||(!fields && true)}}' tdid="7" ref="wechatTitle"   title="微信分享标题">
			 	微信分享标题
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"wechatPic")||fields=="*"||(!fields && true)}}' tdid="8" ref="wechatPic"   title="微信分享图片">
			 	微信分享图片
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"invitcCycle")||fields=="*"||(!fields && true)}}' tdid="9" ref="invitcCycle"   title="分享周期">
			 	分享周期
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"putIn")||fields=="*"||(!fields && true)}}' tdid="10" ref="putIn"   title="是否投放">
			 	是否投放
			 </td>
		 
			 <td width="{{fields=='*'?'140':''}}" lz:if='{{lz.idin(fields,"updateTime")||fields=="*"||(!fields && true)}}' tdid="11" ref="updateTime"   title="修改时间">
			 	修改时间
			 </td>
		 
			 <td width="{{fields=='*'?'140':''}}" lz:if='{{lz.idin(fields,"addTime")||fields=="*"||(!fields && true)}}' tdid="12" ref="addTime"   title="添加时间">
			 	添加时间
			 </td>
		 
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"status")||fields=="*"||(!fields && true)}}' tdid="13" ref="status"   title="状态">
			 	状态
			 </td>
		 
			<td  width="65" tdid="14" class="options" ref="options">操作</td>
			<td class="operation" tdid="15" ref="operation" style="width:120px;"> 
				&nbsp;
			</td>
		  </tr>
		 </thead>	
		 <tbody>
		 
		  <tr lz:for="{{list}}" id="{{item.id}}" >
		  	<td class="td-checkbox" align="center">
				<input class="check" name="check" type="checkbox" value="{{item.id}}"/>
			</td>
			
		    
				<td lz:if='{{lz.idin(fields,"id")||fields=="*"||(!fields && true)}}' ref="id" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.id$ || item.id}}
					  
				</td>
		  
				<td lz:if='{{lz.idin(fields,"commodity")||fields=="*"||(!fields && true)}}' ref="commodity" class="inc {{index%2==0?'odd':'even'}} td " relate="{{item.commodity}}">
					 
					 
					 
					 
					 	<a onclick="window.href('{{basePath}}manage/goods/commodity.detail.html?key={{item.commodity}}')" href="javascript:void(0);">
					 	
					 
					 	{{item.commodity$ || item.commodity}}
					 </a> 
				</td>
		  
				<td lz:if='{{lz.idin(fields,"recomDiscount")||fields=="*"||(!fields && true)}}' ref="recomDiscount" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.recomDiscount$ || item.recomDiscount}}
					  
				</td>
		  
				<td lz:if='{{lz.idin(fields,"invitcOldDiscount")||fields=="*"||(!fields && true)}}' ref="invitcOldDiscount" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.invitcOldDiscount$ || item.invitcOldDiscount}}
					  
				</td>
		  
				<td lz:if='{{lz.idin(fields,"invitcOldTuiDiscount")||fields=="*"||(!fields && true)}}' ref="invitcOldTuiDiscount" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.invitcOldTuiDiscount$ || item.invitcOldTuiDiscount}}
					  
				</td>
		  
				<td lz:if='{{lz.idin(fields,"expiryDate")||fields=="*"||(!fields && true)}}' ref="expiryDate" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.expiryDate$ || item.expiryDate}}
					  
				</td>
		  
				<td lz:if='{{lz.idin(fields,"wechatTitle")||fields=="*"||(!fields && true)}}' ref="wechatTitle" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.wechatTitle$ || item.wechatTitle}}
					  
				</td>
		  
				<td lz:if='{{lz.idin(fields,"wechatPic")||fields=="*"||(!fields && true)}}' ref="wechatPic" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.wechatPic$ || item.wechatPic}}
					  
				</td>
		  
				<td lz:if='{{lz.idin(fields,"invitcCycle")||fields=="*"||(!fields && true)}}' ref="invitcCycle" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.invitcCycle$ || item.invitcCycle}}
					  
				</td>
		  
				<td lz:if='{{lz.idin(fields,"putIn")||fields=="*"||(!fields && true)}}' ref="putIn" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.putIn$ || item.putIn}}
					  
				</td>
		  
				<td lz:if='{{lz.idin(fields,"updateTime")||fields=="*"||(!fields && true)}}' ref="updateTime" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.updateTime$ || item.updateTime}}
					  
				</td>
		  
				<td lz:if='{{lz.idin(fields,"addTime")||fields=="*"||(!fields && true)}}' ref="addTime" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.addTime$ || item.addTime}}
					  
				</td>
		  
				<td lz:if='{{lz.idin(fields,"status")||fields=="*"||(!fields && true)}}' ref="status" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 
					 
					 	{{item.status$ || item.status}}
					  
				</td>
		  
		  
		  
			<td class="options">
				
			</td>
			<td class="operation {{index%2==0?'odd':'even'}}">
				
				<a onclick='navigate("/manage/coupons/invitationcoupon.edit.html",{edittype:"update",id:"{{item.id}}"},window)' href="javascript:void(0)">修改</a>
				
				
				
				<a class="inc-h" onclick='top.$.open("/manage/coupons/invitationcoupon.edit.html",{edittype:"detail",id:"{{item.id}}"},window)' href="javascript:void(0);">详情</a>
				
			</td>
		  </tr>
		 
		 </tbody>
		 		 
	  </table>